﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<ResourceDictionary.MergedDictionaries>
		<ResourceDictionary Source="../Brushes.xaml" />
	</ResourceDictionary.MergedDictionaries>
	
	<Style x:Key="Style_ButtonDefault" TargetType="{x:Type Button}">
		<Setter Property="MinWidth" Value="80" />
		<Setter Property="Margin" Value="5 0 5 0" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Border 
						Height="27" 
						Width="82" 
						CornerRadius="3" 
						BorderBrush="#848689"
						BorderThickness="1">
						<Border 
							Height="25" 
							Width="80" 
							CornerRadius="3" 							
							BorderBrush="#292B2D" 
							Background="{StaticResource BlackGlass}"
							BorderThickness="1">
							<Border 
								Name="MainArea" 
								Height="23" 
								Width="78" 
								CornerRadius="3" 
								BorderBrush="#A4A6A8" 
								BorderThickness="1">
								<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" />
							</Border>
						</Border>
					</Border>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter TargetName="MainArea" Property="Background" Value="{StaticResource RadialBlue}" />
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	
	<Style x:Key="Style_ToolbarButtonClear" TargetType="{x:Type Button}">
		<Setter Property="MinWidth" Value="80" />
		<Setter Property="Margin" Value="5 0 5 0" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Border 
						Name="OuterBorder"
						Height="27" 
						Width="82" 
						CornerRadius="3" 
						BorderBrush="#547383"
						BorderThickness="0">
						<Border 
							Name="InnerBorder"
							Height="25" 
							Width="80" 
							CornerRadius="3" 							
							BorderBrush="#D9E5EC" 
							Background="Transparent"
							BorderThickness="0">
							<Border 
								Name="MainArea" 
								Height="23" 
								Width="78" 
								CornerRadius="3" 
								BorderBrush="#A4A6A8" 
								BorderThickness="0">
								<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Opacity="1" />
							</Border>
						</Border>
					</Border>
					<ControlTemplate.Triggers>
						<Trigger Property="IsEnabled" Value="False">
							<Setter Property="Opacity" Value=".5" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="True">
							<Setter Property="Opacity" Value="1" />
						</Trigger>
						<Trigger Property="IsMouseOver" Value="True">
							<!--<Setter TargetName="OuterBorder" Property="BitmapEffect">
								<Setter.Value>
									<OuterGlowBitmapEffect GlowColor="WhiteSmoke" Opacity="0" GlowSize="3" />
								</Setter.Value>
							</Setter>-->
							<Setter TargetName="OuterBorder" Property="BorderThickness" Value="1" />
							<Setter TargetName="InnerBorder" Property="BorderThickness" Value="1" />
							<Setter TargetName="InnerBorder" Property="Background" Value="{StaticResource WhiteGlow}" />
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	
</ResourceDictionary>